<%@ page language="java" contentType="text/html; charset=EUC-KR"
	pageEncoding="EUC-KR"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
<script type="text/javascript">
window.onload = function(){
	var obj = {
			val :5,
			click: function(){
				alert("hello");
			},
			val2 : 6
	};
	
	alert(obj.val);
	
	
	function User(name){
		this.name = name;
	};
	
	var me = new User("my name");
	
	alert(me.name);
	
	alert(me.constructor);
	
};

</script>
</head>
<body>

</body>
</html>